//
//  HotCollectionReusableView.m
//  7.23 半糖
//
//  Created by dllo on 16/8/2.
//  Copyright © 2016年 高雅馨. All rights reserved.
//

#import "HotCollectionReusableView.h"

@interface HotCollectionReusableView ()
@property (nonatomic, strong) UIButton *headerButton;

@end
@implementation HotCollectionReusableView
- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        _headerButton = [UIButton buttonWithType: UIButtonTypeCustom];
        _headerButton.frame = CGRectMake(5, 0, 100, 50);
        [_headerButton setImage:[UIImage imageNamed:@"hot_icon"] forState:UIControlStateNormal];
        [_headerButton setTitle:@"热门推荐" forState:UIControlStateNormal];
        [_headerButton setTitleColor:[UIColor colorWithRed:0.94 green:0.41 blue:0.38 alpha:1.00] forState:UIControlStateNormal];
             [self addSubview:_headerButton];
    }
    return self;
}
@end
